home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tex / macros / source / packages / tools / dcolumn.dtx < prev    next >
LaTeX Document  |  1995-03-15  |  6.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX 2e document text default
99% file LaTeX document text default
98% file LaTeX document, ASCII text default
100% TrID LaTeX 2e document (with rem) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 5c 69 66 66 61 6c | 73 65 0a 25 25 20 46 69 |% \iffal|se.%% Fi|
|00000010| 6c 65 3a 20 64 63 6f 6c | 75 6d 6e 2e 64 74 78 20 |le: dcol|umn.dtx |
|00000020| 43 6f 70 79 72 69 67 68 | 74 20 28 43 29 20 31 39 |Copyrigh|t (C) 19|
|00000030| 39 32 2d 31 39 39 34 20 | 44 61 76 69 64 20 43 61 |92-1994 |David Ca|
|00000040| 72 6c 69 73 6c 65 0a 25 | 0a 25 3c 70 61 63 6b 61 |rlisle.%|.%<packa|
|00000050| 67 65 3e 5c 4e 65 65 64 | 73 54 65 58 46 6f 72 6d |ge>\Need|sTeXForm|
|00000060| 61 74 7b 4c 61 54 65 58 | 32 65 7d 0a 25 3c 70 61 |at{LaTeX|2e}.%<pa|
|00000070| 63 6b 61 67 65 3e 5c 50 | 72 6f 76 69 64 65 73 50 |ckage>\P|rovidesP|
|00000080| 61 63 6b 61 67 65 7b 64 | 63 6f 6c 75 6d 6e 7d 0a |ackage{d|column}.|
|00000090| 25 3c 70 61 63 6b 61 67 | 65 3e 20 20 20 20 20 20 |%<packag|e> |
|000000a0| 20 20 20 5b 31 39 39 34 | 2f 30 33 2f 31 34 20 76 | [1994|/03/14 v|
|000000b0| 31 2e 30 32 20 64 65 63 | 69 6d 61 6c 20 61 6c 69 |1.02 dec|imal ali|
|000000c0| 67 6e 6d 65 6e 74 20 70 | 61 63 6b 61 67 65 20 28 |gnment p|ackage (|
|000000d0| 44 50 43 29 5d 0a 25 0a | 25 3c 2a 64 72 69 76 65 |DPC)].%.|%<*drive|
|000000e0| 72 3e 0a 5c 64 6f 63 75 | 6d 65 6e 74 63 6c 61 73 |r>.\docu|mentclas|
|000000f0| 73 7b 6c 74 78 64 6f 63 | 7d 0a 5c 75 73 65 70 61 |s{ltxdoc|}.\usepa|
|00000100| 63 6b 61 67 65 7b 64 63 | 6f 6c 75 6d 6e 7d 0a 5c |ckage{dc|olumn}.\|
|00000110| 47 65 74 46 69 6c 65 49 | 6e 66 6f 7b 64 63 6f 6c |GetFileI|nfo{dcol|
|00000120| 75 6d 6e 2e 73 74 79 7d | 0a 5c 62 65 67 69 6e 7b |umn.sty}|.\begin{|
|00000130| 64 6f 63 75 6d 65 6e 74 | 7d 0a 20 5c 74 69 74 6c |document|}. \titl|
|00000140| 65 7b 54 68 65 20 5c 74 | 65 78 74 73 66 7b 64 63 |e{The \t|extsf{dc|
|00000150| 6f 6c 75 6d 6e 7d 20 70 | 61 63 6b 61 67 65 5c 74 |olumn} p|ackage\t|
|00000160| 68 61 6e 6b 73 7b 54 68 | 69 73 20 66 69 6c 65 0a |hanks{Th|is file.|
|00000170| 20 20 20 20 20 20 20 20 | 68 61 73 20 76 65 72 73 | |has vers|
|00000180| 69 6f 6e 20 6e 75 6d 62 | 65 72 20 5c 66 69 6c 65 |ion numb|er \file|
|00000190| 76 65 72 73 69 6f 6e 2c | 20 6c 61 73 74 0a 20 20 |version,| last. |
|000001a0| 20 20 20 20 20 20 72 65 | 76 69 73 65 64 20 5c 66 | re|vised \f|
|000001b0| 69 6c 65 64 61 74 65 2e | 7d 7d 0a 20 5c 61 75 74 |iledate.|}}. \aut|
|000001c0| 68 6f 72 7b 44 61 76 69 | 64 20 43 61 72 6c 69 73 |hor{Davi|d Carlis|
|000001d0| 6c 65 5c 5c 63 61 72 6c | 69 73 6c 65 40 63 73 2e |le\\carl|isle@cs.|
|000001e0| 6d 61 6e 2e 61 63 2e 75 | 6b 7d 0a 20 5c 64 61 74 |man.ac.u|k}. \dat|
|000001f0| 65 7b 5c 66 69 6c 65 64 | 61 74 65 7d 0a 20 5c 6d |e{\filed|ate}. \m|
|00000200| 61 6b 65 74 69 74 6c 65 | 0a 20 5c 44 65 6c 65 74 |aketitle|. \Delet|
|00000210| 65 53 68 6f 72 74 56 65 | 72 62 7b 5c 7c 7d 0a 20 |eShortVe|rb{\|}. |
|00000220| 5c 44 6f 63 49 6e 70 75 | 74 7b 64 63 6f 6c 75 6d |\DocInpu|t{dcolum|
|00000230| 6e 2e 64 74 78 7d 0a 5c | 65 6e 64 7b 64 6f 63 75 |n.dtx}.\|end{docu|
|00000240| 6d 65 6e 74 7d 0a 25 3c | 2f 64 72 69 76 65 72 3e |ment}.%<|/driver>|
|00000250| 0a 25 20 5c 66 69 0a 25 | 0a 25 0a 25 20 5c 63 68 |.% \fi.%|.%.% \ch|
|00000260| 61 6e 67 65 73 7b 76 31 | 2e 30 30 7d 7b 31 39 39 |anges{v1|.00}{199|
|00000270| 32 2f 30 32 2f 31 37 7d | 7b 49 6e 69 74 69 61 6c |2/02/17}|{Initial|
|00000280| 20 76 65 72 73 69 6f 6e | 7d 0a 25 20 5c 63 68 61 | version|}.% \cha|
|00000290| 6e 67 65 73 7b 76 31 2e | 30 31 7d 7b 31 39 39 32 |nges{v1.|01}{1992|
|000002a0| 2f 30 36 2f 31 32 7d 7b | 52 65 2d 69 73 73 75 65 |/06/12}{|Re-issue|
|000002b0| 20 66 6f 72 20 74 68 65 | 20 6e 65 77 20 64 6f 63 | for the| new doc|
|000002c0| 20 61 6e 64 20 64 6f 63 | 73 74 72 69 70 2e 7d 0a | and doc|strip.}.|
|000002d0| 25 20 5c 63 68 61 6e 67 | 65 73 7b 76 31 2e 30 32 |% \chang|es{v1.02|
|000002e0| 7d 7b 31 39 39 34 2f 30 | 33 2f 31 34 7d 7b 52 65 |}{1994/0|3/14}{Re|
|000002f0| 2d 69 73 73 75 65 20 66 | 6f 72 20 4c 61 54 65 58 |-issue f|or LaTeX|
|00000300| 32 65 7d 0a 25 0a 25 20 | 5c 43 68 65 63 6b 53 75 |2e}.%.% |\CheckSu|
|00000310| 6d 7b 31 31 33 7d 0a 25 | 0a 25 0a 25 20 5c 62 65 |m{113}.%|.%.% \be|
|00000320| 67 69 6e 7b 61 62 73 74 | 72 61 63 74 7d 0a 25 20 |gin{abst|ract}.% |
|00000330| 54 68 69 73 20 70 61 63 | 6b 61 67 65 20 64 65 66 |This pac|kage def|
|00000340| 69 6e 65 73 20 61 20 73 | 79 73 74 65 6d 20 66 6f |ines a s|ystem fo|
|00000350| 72 20 64 65 66 69 6e 69 | 6e 67 20 63 6f 6c 75 6d |r defini|ng colum|
|00000360| 6e 73 20 6f 66 20 65 6e | 74 72 69 65 73 20 69 6e |ns of en|tries in|
|00000370| 20 61 6e 0a 25 20 5c 74 | 65 78 74 74 74 7b 61 72 | an.% \t|exttt{ar|
|00000380| 72 61 79 7d 20 6f 72 20 | 5c 74 65 78 74 74 74 7b |ray} or |\texttt{|
|00000390| 74 61 62 75 6c 61 72 7d | 20 77 68 69 63 68 20 61 |tabular}| which a|
|000003a0| 72 65 20 74 6f 20 62 65 | 20 61 6c 69 67 6e 65 64 |re to be| aligned|
|000003b0| 20 6f 6e 20 61 0a 25 20 | 60 64 65 63 69 6d 61 6c | on a.% |`decimal|
|000003c0| 20 70 6f 69 6e 74 27 2e | 0a 25 20 5c 65 6e 64 7b | point'.|.% \end{|
|000003d0| 61 62 73 74 72 61 63 74 | 7d 0a 25 0a 25 20 5c 4d |abstract|}.%.% \M|
|000003e0| 61 6b 65 53 68 6f 72 74 | 56 65 72 62 7b 5c 22 7d |akeShort|Verb{\"}|
|000003f0| 0a 25 0a 25 20 54 68 69 | 73 20 70 61 63 6b 61 67 |.%.% Thi|s packag|
|00000400| 65 20 64 65 66 69 6e 65 | 73 20 7b 5c 74 74 20 44 |e define|s {\tt D|
|00000410| 7d 20 74 6f 20 62 65 20 | 61 20 63 6f 6c 75 6d 6e |} to be |a column|
|00000420| 20 73 70 65 63 69 66 69 | 65 72 20 77 69 74 68 20 | specifi|er with |
|00000430| 74 68 72 65 65 0a 25 20 | 61 72 67 75 6d 65 6e 74 |three.% |argument|
|00000440| 73 2e 5c 5c 0a 25 20 22 | 44 7b 22 5c 6d 65 74 61 |s.\\.% "|D{"\meta|
|00000450| 7b 73 65 70 2e 74 65 78 | 7d 22 7d 7b 22 5c 6d 65 |{sep.tex|}"}{"\me|
|00000460| 74 61 7b 73 65 70 2e 64 | 76 69 7d 22 7d 7b 22 5c |ta{sep.d|vi}"}{"\|
|00000470| 6d 65 74 61 7b 64 65 63 | 69 6d 61 6c 0a 25 20 70 |meta{dec|imal.% p|
|00000480| 6c 61 63 65 73 7d 22 7d | 22 0a 25 0a 25 20 5c 6d |laces}"}|".%.% \m|
|00000490| 65 74 61 7b 73 65 70 2e | 74 65 78 7d 20 73 68 6f |eta{sep.|tex} sho|
|000004a0| 75 6c 64 20 62 65 20 61 | 20 73 69 6e 67 6c 65 20 |uld be a| single |
|000004b0| 63 68 61 72 61 63 74 65 | 72 2c 20 74 68 69 73 20 |characte|r, this |
|000004c0| 69 73 20 75 73 65 64 20 | 61 73 20 74 68 65 0a 25 |is used |as the.%|
|000004d0| 20 73 65 70 61 72 61 74 | 6f 72 20 69 6e 20 74 68 | separat|or in th|
|000004e0| 65 20 7b 5c 74 74 20 2e | 74 65 78 7d 20 66 69 6c |e {\tt .|tex} fil|
|000004f0| 65 2e 20 54 68 75 73 20 | 69 74 20 77 69 6c 6c 20 |e. Thus |it will |
|00000500| 75 73 75 61 6c 6c 79 20 | 62 65 20 60 7b 5c 74 74 |usually |be `{\tt|
|00000510| 2e 7d 27 20 6f 72 0a 25 | 20 60 7b 5c 74 74 2c 7d |.}' or.%| `{\tt,}|
|00000520| 27 2e 0a 25 0a 25 20 5c | 6d 62 6f 78 7b 5c 6d 65 |'..%.% \|mbox{\me|
|00000530| 74 61 7b 73 65 70 2e 64 | 76 69 7d 7d 20 69 73 20 |ta{sep.d|vi}} is |
|00000540| 75 73 65 64 20 61 73 20 | 74 68 65 20 73 65 70 61 |used as |the sepa|
|00000550| 72 61 74 6f 72 20 69 6e | 20 74 68 65 20 6f 75 74 |rator in| the out|
|00000560| 70 75 74 2c 20 74 68 69 | 73 20 6d 61 79 0a 25 20 |put, thi|s may.% |
|00000570| 62 65 20 74 68 65 20 73 | 61 6d 65 20 61 73 20 74 |be the s|ame as t|
|00000580| 68 65 20 66 69 72 73 74 | 20 61 72 67 75 6d 65 6e |he first| argumen|
|00000590| 74 2c 20 62 75 74 20 6d | 61 79 20 62 65 20 61 6e |t, but m|ay be an|
|000005a0| 79 20 6d 61 74 68 2d 6d | 6f 64 65 0a 25 20 65 78 |y math-m|ode.% ex|
|000005b0| 70 72 65 73 73 69 6f 6e | 2c 20 73 75 63 68 20 61 |pression|, such a|
|000005c0| 73 20 22 5c 63 64 6f 74 | 22 2e 0a 25 0a 25 20 5c |s "\cdot|"..%.% \|
|000005d0| 6d 65 74 61 7b 64 65 63 | 69 6d 61 6c 20 70 6c 61 |meta{dec|imal pla|
|000005e0| 63 65 73 7d 20 73 68 6f | 75 6c 64 20 62 65 20 74 |ces} sho|uld be t|
|000005f0| 68 65 20 6d 61 78 69 6d | 75 6d 20 6e 75 6d 62 65 |he maxim|um numbe|
|00000600| 72 20 6f 66 20 64 65 63 | 69 6d 61 6c 20 70 6c 61 |r of dec|imal pla|
|00000610| 63 65 73 0a 25 20 69 6e | 20 74 68 65 20 63 6f 6c |ces.% in| the col|
|00000620| 75 6d 6e 2e 20 49 66 20 | 74 68 69 73 20 69 73 20 |umn. If |this is |
|00000630| 6e 65 67 61 74 69 76 65 | 2c 20 61 6e 79 20 6e 75 |negative|, any nu|
|00000640| 6d 62 65 72 20 6f 66 20 | 64 65 63 69 6d 61 6c 20 |mber of |decimal |
|00000650| 70 6c 61 63 65 73 20 63 | 61 6e 0a 25 20 62 65 20 |places c|an.% be |
|00000660| 75 73 65 64 20 69 6e 20 | 74 68 65 20 63 6f 6c 75 |used in |the colu|
|00000670| 6d 6e 2c 20 61 6e 64 20 | 61 6c 6c 20 65 6e 74 72 |mn, and |all entr|
|00000680| 69 65 73 20 77 69 6c 6c | 20 62 65 20 63 65 6e 74 |ies will| be cent|
|00000690| 72 65 64 20 6f 6e 20 74 | 68 65 0a 25 20 73 65 70 |red on t|he.% sep|
|000006a0| 61 72 61 74 6f 72 2e 20 | 4e 6f 74 65 20 74 68 61 |arator. |Note tha|
|000006b0| 74 20 74 68 69 73 20 63 | 61 6e 20 63 61 75 73 65 |t this c|an cause|
|000006c0| 20 61 20 63 6f 6c 75 6d | 6e 20 74 6f 20 62 65 20 | a colum|n to be |
|000006d0| 74 6f 6f 20 77 69 64 65 | 2c 20 63 6f 6d 70 61 72 |too wide|, compar|
|000006e0| 65 0a 25 20 74 68 65 20 | 66 69 72 73 74 20 74 77 |e.% the |first tw|
|000006f0| 6f 20 63 6f 6c 75 6d 6e | 73 20 69 6e 20 74 68 65 |o column|s in the|
|00000700| 20 65 78 61 6d 70 6c 65 | 20 62 65 6c 6f 77 2e 20 | example| below. |
|00000710| 49 66 20 74 68 69 73 20 | 61 72 67 75 6d 65 6e 74 |If this |argument|
|00000720| 20 69 73 0a 25 20 70 6f | 73 69 74 69 76 65 2c 20 | is.% po|sitive, |
|00000730| 74 68 65 20 63 6f 6c 75 | 6d 6e 20 75 73 65 73 20 |the colu|mn uses |
|00000740| 6d 61 63 72 6f 73 20 65 | 71 75 69 76 61 6c 65 6e |macros e|quivalen|
|00000750| 74 20 74 6f 20 22 5c 72 | 69 67 68 74 64 6f 74 73 |t to "\r|ightdots|
|00000760| 22 0a 25 20 22 5c 65 6e | 64 72 69 67 68 74 64 6f |".% "\en|drightdo|
|00000770| 74 73 22 20 6f 66 20 7b | 5c 74 74 20 61 72 72 61 |ts" of {|\tt arra|
|00000780| 79 2e 73 74 79 7d 2c 20 | 6f 74 68 65 72 77 69 73 |y.sty}, |otherwis|
|00000790| 65 20 74 68 65 20 6d 61 | 63 72 6f 73 20 61 72 65 |e the ma|cros are|
|000007a0| 0a 25 20 65 73 73 65 6e | 74 69 61 6c 6c 79 20 65 |.% essen|tially e|
|000007b0| 71 75 69 76 61 6c 65 6e | 74 20 74 6f 20 22 5c 63 |quivalen|t to "\c|
|000007c0| 65 6e 74 65 72 64 6f 74 | 73 22 20 22 5c 65 6e 64 |enterdot|s" "\end|
|000007d0| 63 65 6e 74 65 72 64 6f | 74 73 22 2e 0a 25 0a 25 |centerdo|ts"..%.%|
|000007e0| 20 59 6f 75 20 6d 61 79 | 20 6e 6f 74 20 77 61 6e | You may| not wan|
|000007f0| 74 20 74 6f 20 75 73 65 | 20 61 6c 6c 20 74 68 72 |t to use| all thr|
|00000800| 65 65 20 65 6e 74 72 69 | 65 73 20 69 6e 20 74 68 |ee entri|es in th|
|00000810| 65 20 7b 5c 74 74 20 61 | 72 72 61 79 7d 20 6f 72 |e {\tt a|rray} or|
|00000820| 20 7b 5c 74 74 0a 25 20 | 74 61 62 75 6c 61 72 7d | {\tt.% |tabular}|
|00000830| 20 70 72 65 61 6d 62 6c | 65 2c 20 73 6f 20 79 6f | preambl|e, so yo|
|00000840| 75 20 6d 61 79 20 64 65 | 66 69 6e 65 20 79 6f 75 |u may de|fine you|
|00000850| 72 20 6f 77 6e 20 70 72 | 65 61 6d 62 6c 65 20 73 |r own pr|eamble s|
|00000860| 70 65 63 69 66 69 65 72 | 73 0a 25 20 75 73 69 6e |pecifier|s.% usin|
|00000870| 67 20 22 5c 6e 65 77 63 | 6f 6c 75 6d 6e 74 79 70 |g "\newc|olumntyp|
|00000880| 65 22 2e 0a 25 0a 25 20 | 46 6f 72 20 65 78 61 6d |e"..%.% |For exam|
|00000890| 70 6c 65 20 77 65 20 6d | 61 79 20 73 61 79 3a 0a |ple we m|ay say:.|
|000008a0| 25 0a 25 20 5c 6e 6f 69 | 6e 64 65 6e 74 22 5c 6e |%.% \noi|ndent"\n|
|000008b0| 65 77 63 6f 6c 75 6d 6e | 74 79 70 65 7b 64 7d 5b |ewcolumn|type{d}[|
|000008c0| 31 5d 7b 44 7b 2e 7d 7b | 5c 63 64 6f 74 7d 7b 23 |1]{D{.}{|\cdot}{#|
|000008d0| 31 7d 7d 22 0a 25 0a 25 | 20 7b 5c 74 74 20 64 7d |1}}".%.%| {\tt d}|
|000008e0| 20 74 61 6b 65 73 20 61 | 20 73 69 6e 67 6c 65 20 | takes a| single |
|000008f0| 61 72 67 75 6d 65 6e 74 | 20 73 70 65 63 69 66 79 |argument| specify|
|00000900| 69 6e 67 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |ing the |number o|
|00000910| 66 20 64 65 63 69 6d 61 | 6c 0a 25 20 70 6c 61 63 |f decima|l.% plac|
|00000920| 65 73 2c 20 61 6e 64 20 | 74 68 65 20 7b 5c 74 74 |es, and |the {\tt|
|00000930| 20 2e 74 65 78 7d 20 66 | 69 6c 65 20 73 68 6f 75 | .tex} f|ile shou|
|00000940| 6c 64 20 75 73 65 20 7b | 5c 74 74 2e 7d 2c 20 77 |ld use {|\tt.}, w|
|00000950| 69 74 68 20 24 5c 63 64 | 6f 74 24 20 62 65 69 6e |ith $\cd|ot$ bein|
|00000960| 67 0a 25 20 75 73 65 64 | 20 69 6e 20 74 68 65 20 |g.% used| in the |
|00000970| 6f 75 74 70 75 74 2e 0a | 25 0a 25 20 5c 6e 6f 69 |output..|%.% \noi|
|00000980| 6e 64 65 6e 74 22 5c 6e | 65 77 63 6f 6c 75 6d 6e |ndent"\n|ewcolumn|
|00000990| 74 79 70 65 7b 2e 7d 7b | 44 7b 2e 7d 7b 2e 7d 7b |type{.}{|D{.}{.}{|
|000009a0| 2d 31 7d 7d 22 0a 25 0a | 25 20 7b 5c 74 74 20 2e |-1}}".%.|% {\tt .|
|000009b0| 7d 20 73 70 65 63 69 66 | 69 65 73 20 61 20 63 6f |} specif|ies a co|
|000009c0| 6c 75 6d 6e 20 6f 66 20 | 65 6e 74 72 69 65 73 20 |lumn of |entries |
|000009d0| 74 6f 20 62 65 20 63 65 | 6e 74 72 65 64 20 6f 6e |to be ce|ntred on|
|000009e0| 20 74 68 65 7e 24 2e 24 | 2e 0a 25 0a 25 20 5c 6e | the~$.$|..%.% \n|
|000009f0| 6f 69 6e 64 65 6e 74 22 | 5c 6e 65 77 63 6f 6c 75 |oindent"|\newcolu|
|00000a00| 6d 6e 74 79 70 65 7b 2c | 7d 7b 44 7b 2c 7d 7b 2c |mntype{,|}{D{,}{,|
|00000a10| 7d 7b 32 7d 7d 22 0a 25 | 0a 25 20 7b 5c 74 74 20 |}{2}}".%|.% {\tt |
|00000a20| 2c 7d 20 73 70 65 63 69 | 66 69 65 73 20 74 61 6b |,} speci|fies tak|
|00000a30| 65 73 20 61 20 63 6f 6c | 75 6d 6e 20 6f 66 20 65 |es a col|umn of e|
|00000a40| 6e 74 72 69 65 73 20 77 | 69 74 68 20 61 74 20 6d |ntries w|ith at m|
|00000a50| 6f 73 74 20 74 77 6f 20 | 64 65 63 69 6d 61 6c 0a |ost two |decimal.|
|00000a60| 25 20 70 6c 61 63 65 73 | 20 61 66 74 65 72 20 61 |% places| after a|
|00000a70| 7e 24 2c 24 2e 0a 25 0a | 25 20 5c 6e 65 77 63 6f |~$,$..%.|% \newco|
|00000a80| 6c 75 6d 6e 74 79 70 65 | 7b 64 7d 5b 31 5d 7b 44 |lumntype|{d}[1]{D|
|00000a90| 7b 2e 7d 7b 5c 63 64 6f | 74 7d 7b 23 31 7d 7d 0a |{.}{\cdo|t}{#1}}.|
|00000aa0| 25 20 5c 6e 65 77 63 6f | 6c 75 6d 6e 74 79 70 65 |% \newco|lumntype|
|00000ab0| 7b 2e 7d 7b 44 7b 2e 7d | 7b 2e 7d 7b 2d 31 7d 7d |{.}{D{.}|{.}{-1}}|
|00000ac0| 0a 25 20 5c 6e 65 77 63 | 6f 6c 75 6d 6e 74 79 70 |.% \newc|olumntyp|
|00000ad0| 65 7b 2c 7d 7b 44 7b 2c | 7d 7b 2c 7d 7b 32 7d 7d |e{,}{D{,|}{,}{2}}|
|00000ae0| 0a 25 0a 25 20 54 68 65 | 20 66 6f 6c 6c 6f 77 69 |.%.% The| followi|
|00000af0| 6e 67 20 74 61 62 6c 65 | 20 62 65 67 69 6e 73 20 |ng table| begins |
|00000b00| 22 5c 62 65 67 69 6e 7b | 74 61 62 75 6c 61 72 7d |"\begin{|tabular}|
|00000b10| 7b 7c 64 7b 2d 31 7d 7c | 64 7b 32 7d 7c 2e 7c 2c |{|d{-1}||d{2}|.|,|
|00000b20| 7c 7d 22 0a 25 0a 25 20 | 5c 62 65 67 69 6e 7b 63 ||}".%.% |\begin{c|
|00000b30| 65 6e 74 65 72 7d 0a 25 | 20 5c 62 65 67 69 6e 7b |enter}.%| \begin{|
|00000b40| 74 61 62 75 6c 61 72 7d | 7b 7c 64 7b 2d 31 7d 7c |tabular}|{|d{-1}||
|00000b50| 64 7b 32 7d 7c 2e 7c 2c | 7c 7d 0a 25 20 31 2e 32 |d{2}|.|,||}.% 1.2|
|00000b60| 20 20 20 26 20 31 2e 32 | 20 20 20 26 31 2e 32 20 | & 1.2| &1.2 |
|00000b70| 20 20 20 26 31 2c 32 20 | 20 20 20 5c 5c 0a 25 20 | &1,2 | \\.% |
|00000b80| 31 2e 32 33 20 20 26 20 | 31 2e 32 33 20 20 26 31 |1.23 & |1.23 &1|
|00000b90| 32 2e 35 20 20 20 26 33 | 30 30 2c 32 20 20 5c 5c |2.5 &3|00,2 \\|
|00000ba0| 0a 25 20 31 31 32 31 2e | 32 26 20 31 31 32 31 2e |.% 1121.|2& 1121.|
|00000bb0| 32 26 38 36 31 2e 32 30 | 20 26 36 37 34 2c 32 39 |2&861.20| &674,29|
|00000bc0| 20 5c 5c 0a 25 20 31 38 | 34 20 20 20 26 20 31 38 | \\.% 18|4 & 18|
|00000bd0| 34 20 20 20 26 31 30 20 | 20 20 20 20 26 36 39 20 |4 &10 | &69 |
|00000be0| 20 20 20 20 5c 5c 0a 25 | 20 2e 34 20 20 20 20 26 | \\.%| .4 &|
|00000bf0| 20 2e 34 20 20 20 20 26 | 20 20 20 20 20 20 20 26 | .4 &| &|
|00000c00| 2c 34 20 20 20 20 20 5c | 5c 0a 25 20 20 20 20 20 |,4 \|\.% |
|00000c10| 20 20 26 20 20 20 20 20 | 20 20 26 2e 34 20 20 20 | & | &.4 |
|00000c20| 20 20 26 0a 25 20 5c 65 | 6e 64 7b 74 61 62 75 6c | &.% \e|nd{tabul|
|00000c30| 61 72 7d 0a 25 20 5c 65 | 6e 64 7b 63 65 6e 74 65 |ar}.% \e|nd{cente|
|00000c40| 72 7d 0a 25 0a 25 20 4e | 6f 74 65 20 74 68 61 74 |r}.%.% N|ote that|
|00000c50| 20 74 68 65 20 66 69 72 | 73 74 20 63 6f 6c 75 6d | the fir|st colum|
|00000c60| 6e 2c 20 77 68 69 63 68 | 20 68 61 64 20 61 20 6e |n, which| had a n|
|00000c70| 65 67 61 74 69 76 65 20 | 5c 6d 65 74 61 7b 64 65 |egative |\meta{de|
|00000c80| 63 69 6d 61 6c 20 70 6c | 61 63 65 73 7d 0a 25 20 |cimal pl|aces}.% |
|00000c90| 61 72 67 75 6d 65 6e 74 | 20 69 73 20 77 69 64 65 |argument| is wide|
|00000ca0| 72 20 74 68 61 6e 20 74 | 68 65 20 73 65 63 6f 6e |r than t|he secon|
|00000cb0| 64 20 63 6f 6c 75 6d 6e | 2c 20 73 6f 20 74 68 61 |d column|, so tha|
|00000cc0| 74 20 74 68 65 20 64 65 | 63 69 6d 61 6c 20 70 6f |t the de|cimal po|
|00000cd0| 69 6e 74 0a 25 20 61 70 | 70 65 61 72 73 20 69 6e |int.% ap|pears in|
|00000ce0| 20 74 68 65 20 6d 69 64 | 64 6c 65 20 6f 66 20 74 | the mid|dle of t|
|00000cf0| 68 65 20 63 6f 6c 75 6d | 6e 2e 0a 25 0a 25 20 41 |he colum|n..%.% A|
|00000d00| 6c 73 6f 20 6e 6f 74 65 | 20 74 68 61 74 20 74 68 |lso note| that th|
|00000d10| 69 73 20 70 61 63 6b 61 | 67 65 20 64 65 61 6c 73 |is packa|ge deals|
|00000d20| 20 63 6f 72 72 65 63 74 | 6c 79 20 77 69 74 68 20 | correct|ly with |
|00000d30| 65 6e 74 72 69 65 73 20 | 77 69 74 68 20 6e 6f 0a |entries |with no.|
|00000d40| 25 20 64 65 63 69 6d 61 | 6c 20 70 61 72 74 2c 20 |% decima|l part, |
|00000d50| 6e 6f 20 69 6e 74 65 67 | 65 72 20 70 61 72 74 2c |no integ|er part,|
|00000d60| 20 61 6e 64 20 62 6c 61 | 6e 6b 20 65 6e 74 72 69 | and bla|nk entri|
|00000d70| 65 73 2e 0a 25 0a 25 20 | 5c 53 74 6f 70 45 76 65 |es..%.% |\StopEve|
|00000d80| 6e 74 75 61 6c 6c 79 7b | 7d 0a 25 0a 25 0a 25 20 |ntually{|}.%.%.% |
|00000d90| 5c 73 65 63 74 69 6f 6e | 7b 54 68 65 20 4d 61 63 |\section|{The Mac|
|00000da0| 72 6f 73 7d 0a 25 0a 25 | 20 20 20 20 5c 62 65 67 |ros}.%.%| \beg|
|00000db0| 69 6e 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 25 3c |in{macro|code}.%<|
|00000dc0| 2a 70 61 63 6b 61 67 65 | 3e 0a 25 20 20 20 20 5c |*package|>.% \|
|00000dd0| 65 6e 64 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 25 |end{macr|ocode}.%|
|00000de0| 0a 25 20 46 69 72 73 74 | 20 77 65 20 6c 6f 61 64 |.% First| we load|
|00000df0| 20 7b 5c 74 74 20 61 72 | 72 61 79 2e 73 74 79 7d | {\tt ar|ray.sty}|
|00000e00| 20 69 66 20 69 74 20 6e | 6f 74 20 61 6c 72 65 61 | if it n|ot alrea|
|00000e10| 64 79 20 6c 6f 61 64 65 | 64 2e 0a 25 20 20 20 20 |dy loade|d..% |
|00000e20| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 63 6f 64 65 |\begin{m|acrocode|
|00000e30| 7d 0a 5c 52 65 71 75 69 | 72 65 50 61 63 6b 61 67 |}.\Requi|rePackag|
|00000e40| 65 7b 61 72 72 61 79 7d | 0a 25 20 20 20 20 5c 65 |e{array}|.% \e|
|00000e50| 6e 64 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 25 0a |nd{macro|code}.%.|
|00000e60| 25 20 54 68 65 20 62 61 | 73 69 63 20 69 64 65 61 |% The ba|sic idea|
|00000e70| 73 20 62 65 68 69 6e 64 | 20 74 68 65 73 65 20 6d |s behind| these m|
|00000e80| 61 63 72 6f 73 20 61 72 | 65 20 65 78 70 6c 61 69 |acros ar|e explai|
|00000e90| 6e 65 64 20 69 6e 20 74 | 68 65 20 64 6f 63 75 6d |ned in t|he docum|
|00000ea0| 65 6e 74 61 74 69 6f 6e | 0a 25 20 66 6f 72 20 7b |entation|.% for {|
|00000eb0| 5c 74 74 20 61 72 72 61 | 79 2e 73 74 79 7d 2e 20 |\tt arra|y.sty}. |
|00000ec0| 48 6f 77 65 76 65 72 20 | 74 68 65 79 20 75 73 65 |However |they use|
|00000ed0| 20 74 68 72 65 65 0a 25 | 20 74 72 69 63 6b 73 20 | three.%| tricks |
|00000ee0| 77 68 69 63 68 20 6d 61 | 79 20 62 65 20 75 73 65 |which ma|y be use|
|00000ef0| 66 75 6c 20 69 6e 20 6f | 74 68 65 72 20 63 6f 6e |ful in o|ther con|
|00000f00| 74 65 78 74 73 2e 0a 25 | 20 5c 62 65 67 69 6e 7b |texts..%| \begin{|
|00000f10| 69 74 65 6d 69 7a 65 7d | 0a 25 20 5c 69 74 65 6d |itemize}|.% \item|
|00000f20| 20 54 68 65 20 73 65 70 | 61 72 61 74 6f 72 20 69 | The sep|arator i|
|00000f30| 73 20 73 75 72 72 6f 75 | 6e 64 65 64 20 69 6e 20 |s surrou|nded in |
|00000f40| 65 78 74 72 61 20 22 7b | 20 7d 22 2c 20 73 6f 20 |extra "{| }", so |
|00000f50| 74 68 61 74 20 69 74 20 | 69 73 20 73 65 74 0a 25 |that it |is set.%|
|00000f60| 20 77 69 74 68 20 22 5c | 6d 61 74 68 6f 72 64 22 | with "\|mathord"|
|00000f70| 20 73 70 61 63 69 6e 67 | 2c 20 6f 74 68 65 72 77 | spacing|, otherw|
|00000f80| 69 73 65 2c 20 66 6f 72 | 20 69 6e 73 74 61 6e 63 |ise, for| instanc|
|00000f90| 65 20 61 20 60 2c 27 20 | 77 6f 75 6c 64 20 68 61 |e a `,' |would ha|
|00000fa0| 76 65 0a 25 20 65 78 74 | 72 61 20 73 70 61 63 65 |ve.% ext|ra space|
|00000fb0| 20 61 66 74 65 72 20 69 | 74 2e 0a 25 20 5c 69 74 | after i|t..% \it|
|00000fc0| 65 6d 20 54 68 65 20 73 | 65 70 61 72 61 74 6f 72 |em The s|eparator|
|00000fd0| 20 69 73 20 6e 6f 74 20 | 67 69 76 65 6e 20 69 74 | is not |given it|
|00000fe0| 73 20 73 70 65 63 69 61 | 6c 20 64 65 66 69 6e 69 |s specia|l defini|
|00000ff0| 74 69 6f 6e 20 62 79 20 | 6d 61 6b 69 6e 67 20 69 |tion by |making i|
|00001000| 74 0a 25 20 61 63 74 69 | 76 65 2c 20 61 73 20 74 |t.% acti|ve, as t|
|00001010| 68 69 73 20 77 6f 75 6c | 64 20 6e 6f 74 20 77 6f |his woul|d not wo|
|00001020| 72 6b 20 66 6f 72 20 61 | 6e 20 65 6e 74 72 79 20 |rk for a|n entry |
|00001030| 73 75 63 68 20 61 73 20 | 22 26 20 2e 35 20 26 22 |such as |"& .5 &"|
|00001040| 2c 20 61 73 20 74 68 65 | 0a 25 20 66 69 72 73 74 |, as the|.% first|
|00001050| 20 74 6f 6b 65 6e 20 6f | 66 20 61 6e 20 61 6c 69 | token o|f an ali|
|00001060| 67 6e 6d 65 6e 74 20 65 | 6e 74 72 79 20 69 73 20 |gnment e|ntry is |
|00001070| 72 65 61 64 20 7b 5c 65 | 6d 20 62 65 66 6f 72 65 |read {\e|m before|
|00001080| 5c 2f 7d 20 74 68 65 20 | 70 72 65 61 6d 62 6c 65 |\/} the |preamble|
|00001090| 0a 25 20 70 61 72 74 2c | 20 69 6e 63 61 73 65 20 |.% part,| incase |
|000010a0| 69 74 20 69 73 20 61 6e | 20 22 5c 6f 6d 69 74 22 |it is an| "\omit"|
|000010b0| 2c 20 69 6e 20 77 68 69 | 63 68 20 63 61 73 65 20 |, in whi|ch case |
|000010c0| 74 68 65 20 70 72 65 61 | 6d 62 6c 65 20 69 73 20 |the prea|mble is |
|000010d0| 74 6f 20 62 65 0a 25 20 | 6f 6d 69 74 74 65 64 2e |to be.% |omitted.|
|000010e0| 20 49 6e 73 74 65 61 64 | 20 77 65 20 73 77 69 74 | Instead| we swit|
|000010f0| 63 68 20 74 68 65 20 6d | 61 74 68 63 6f 64 65 20 |ch the m|athcode |
|00001100| 74 6f 20 28 68 65 78 29 | 20 38 30 30 30 2c 20 77 |to (hex)| 8000, w|
|00001110| 68 69 63 68 20 6d 61 6b | 65 73 20 74 68 65 0a 25 |hich mak|es the.%|
|00001120| 20 74 6f 6b 65 6e 20 61 | 63 74 20 61 73 20 69 66 | token a|ct as if|
|00001130| 20 69 74 20 77 65 72 65 | 20 61 63 74 69 76 65 2e | it were| active.|
|00001140| 0a 25 20 5c 69 74 65 6d | 20 41 6c 74 68 6f 75 67 |.% \item| Althoug|
|00001150| 68 20 5c 76 65 72 62 7c | 5c 6d 61 74 68 63 6f 64 |h \verb||\mathcod|
|00001160| 65 60 2e 3d 22 38 30 30 | 30 7c 20 20 6d 61 6b 65 |e`.="800|0| make|
|00001170| 73 20 7b 5c 74 74 2e 7d | 20 61 63 74 20 61 73 20 |s {\tt.}| act as |
|00001180| 69 66 20 69 74 0a 25 20 | 77 65 72 65 20 61 63 74 |if it.% |were act|
|00001190| 69 76 65 2c 20 69 74 20 | 69 73 20 73 74 69 6c 6c |ive, it |is still|
|000011a0| 20 6e 6f 74 20 61 6c 6c | 6f 77 65 64 20 69 6e 20 | not all|owed in |
|000011b0| 63 6f 6e 73 74 72 75 63 | 74 69 6f 6e 73 20 73 75 |construc|tions su|
|000011c0| 63 68 20 61 73 0a 25 20 | 22 5c 64 65 66 2e 7b 7d |ch as.% |"\def.{}|
|000011d0| 22 2c 20 65 76 65 6e 20 | 69 6e 20 6d 61 74 68 2d |", even |in math-|
|000011e0| 6d 6f 64 65 2c 20 73 6f | 20 77 65 20 68 61 76 65 |mode, so| we have|
|000011f0| 20 74 6f 20 63 6f 6e 73 | 74 72 75 63 74 20 61 6e | to cons|truct an|
|00001200| 20 61 63 74 69 76 65 0a | 25 20 76 65 72 73 69 6f | active.|% versio|
|00001210| 6e 20 6f 66 20 74 68 65 | 20 73 65 70 61 72 61 74 |n of the| separat|
|00001220| 6f 72 2c 20 74 68 69 73 | 20 69 73 20 64 6f 6e 65 |or, this| is done|
|00001230| 20 62 79 20 6d 61 6b 69 | 6e 67 20 69 74 20 74 68 | by maki|ng it th|
|00001240| 65 20 75 70 70 65 72 63 | 61 73 65 20 6f 66 0a 25 |e upperc|ase of.%|
|00001250| 20 22 7e 22 2c 20 61 6e | 64 20 74 68 65 6e 20 75 | "~", an|d then u|
|00001260| 73 69 6e 67 20 74 68 65 | 20 63 6f 6e 73 74 72 75 |sing the| constru|
|00001270| 63 74 5c 5c 0a 25 20 22 | 5c 75 70 70 65 72 63 61 |ct\\.% "|\upperca|
|00001280| 73 65 7b 5c 64 65 66 7e | 7d 7b 22 5c 6d 65 74 61 |se{\def~|}{"\meta|
|00001290| 7b 64 65 66 69 6e 69 74 | 69 6f 6e 7d 22 7d 22 2e |{definit|ion}"}".|
|000012a0| 5c 5c 0a 25 20 4e 6f 74 | 65 20 74 68 61 74 20 74 |\\.% Not|e that t|
|000012b0| 68 65 20 5c 6d 65 74 61 | 7b 64 65 66 69 6e 69 74 |he \meta|{definit|
|000012c0| 69 6f 6e 7d 20 69 73 20 | 6e 6f 74 20 75 70 70 65 |ion} is |not uppe|
|000012d0| 72 63 61 73 65 64 2c 20 | 73 6f 20 74 68 65 20 64 |rcased, |so the d|
|000012e0| 65 66 69 6e 69 74 69 6f | 6e 0a 25 20 63 61 6e 20 |efinitio|n.% can |
|000012f0| 72 65 66 65 72 20 74 6f | 20 74 68 65 20 73 74 61 |refer to| the sta|
|00001300| 6e 64 61 72 64 2c 20 6e | 6f 6e 2d 61 63 74 69 76 |ndard, n|on-activ|
|00001310| 65 20 75 73 65 20 6f 66 | 20 74 68 65 20 73 65 70 |e use of| the sep|
|00001320| 61 72 61 74 6f 72 2e 0a | 25 20 5c 65 6e 64 7b 69 |arator..|% \end{i|
|00001330| 74 65 6d 69 7a 65 7d 0a | 25 20 20 20 20 5c 62 65 |temize}.|% \be|
|00001340| 67 69 6e 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 5c |gin{macr|ocode}.\|
|00001350| 64 65 66 5c 44 43 40 23 | 31 23 32 23 33 7b 25 0a |def\DC@#|1#2#3{%.|
|00001360| 20 20 5c 75 63 63 6f 64 | 65 60 5c 7e 3d 60 23 31 | \uccod|e`\~=`#1|
|00001370| 5c 72 65 6c 61 78 0a 20 | 20 5c 6d 40 74 68 0a 20 |\relax. | \m@th. |
|00001380| 20 5c 69 66 6e 75 6d 20 | 23 33 20 3c 20 5c 7a 40 | \ifnum |#3 < \z@|
|00001390| 20 5c 65 78 70 61 6e 64 | 61 66 74 65 72 5c 44 43 | \expand|after\DC|
|000013a0| 40 63 65 6e 74 72 65 0a | 20 20 5c 65 6c 73 65 20 |@centre.| \else |
|000013b0| 5c 65 78 70 61 6e 64 61 | 66 74 65 72 5c 44 43 40 |\expanda|fter\DC@|
|000013c0| 72 69 67 68 74 20 5c 66 | 69 0a 20 20 7b 23 31 7d |right \f|i. {#1}|
|000013d0| 7b 23 32 7d 7b 23 33 7d | 7d 0a 25 20 20 20 20 5c |{#2}{#3}|}.% \|
|000013e0| 65 6e 64 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 25 |end{macr|ocode}.%|
|000013f0| 0a 25 20 20 20 20 5c 62 | 65 67 69 6e 7b 6d 61 63 |.% \b|egin{mac|
|00001400| 72 6f 63 6f 64 65 7d 0a | 5c 64 65 66 5c 44 43 40 |rocode}.|\def\DC@|
|00001410| 63 65 6e 74 72 65 23 31 | 23 32 23 33 7b 25 0a 20 |centre#1|#2#3{%. |
|00001420| 20 5c 6c 65 74 5c 44 43 | 40 65 6e 64 5c 44 43 40 | \let\DC|@end\DC@|
|00001430| 65 6e 64 63 65 6e 74 72 | 65 0a 20 20 5c 75 70 70 |endcentr|e. \upp|
|00001440| 65 72 63 61 73 65 7b 5c | 64 65 66 7e 7d 7b 24 5c |ercase{\|def~}{$\|
|00001450| 65 67 72 6f 75 70 5c 73 | 65 74 62 6f 78 5c 74 77 |egroup\s|etbox\tw|
|00001460| 40 3d 5c 68 62 6f 78 5c | 62 67 72 6f 75 70 24 7b |@=\hbox\|bgroup${|
|00001470| 23 32 7d 7d 25 0a 20 20 | 5c 73 65 74 62 6f 78 5c |#2}}%. |\setbox\|
|00001480| 74 77 40 3d 5c 68 62 6f | 78 7b 24 7b 5c 70 68 61 |tw@=\hbo|x{${\pha|
|00001490| 6e 74 6f 6d 7b 7b 23 32 | 7d 7d 7d 24 7d 25 0a 20 |ntom{{#2|}}}$}%. |
|000014a0| 20 5c 73 65 74 62 6f 78 | 5c 7a 40 3d 5c 68 62 6f | \setbox|\z@=\hbo|
|000014b0| 78 5c 62 67 72 6f 75 70 | 24 5c 6d 61 74 68 63 6f |x\bgroup|$\mathco|
|000014c0| 64 65 60 23 31 3d 22 38 | 30 30 30 20 7d 0a 25 20 |de`#1="8|000 }.% |
|000014d0| 20 20 20 5c 65 6e 64 7b | 6d 61 63 72 6f 63 6f 64 | \end{|macrocod|
|000014e0| 65 7d 0a 25 0a 25 20 20 | 20 20 5c 62 65 67 69 6e |e}.%.% | \begin|
|000014f0| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 5c 64 65 66 |{macroco|de}.\def|
|00001500| 5c 44 43 40 65 6e 64 63 | 65 6e 74 72 65 7b 24 5c |\DC@endc|entre{$\|
|00001510| 65 67 72 6f 75 70 0a 20 | 20 20 20 5c 69 66 64 69 |egroup. | \ifdi|
|00001520| 6d 20 5c 77 64 5c 7a 40 | 3e 5c 77 64 5c 74 77 40 |m \wd\z@|>\wd\tw@|
|00001530| 0a 20 20 20 20 20 20 5c | 73 65 74 62 6f 78 5c 74 |. \|setbox\t|
|00001540| 77 40 3d 5c 68 62 6f 78 | 20 74 6f 5c 77 64 5c 7a |w@=\hbox| to\wd\z|
|00001550| 40 7b 5c 75 6e 68 62 6f | 78 5c 74 77 40 5c 68 66 |@{\unhbo|x\tw@\hf|
|00001560| 69 6c 6c 7d 25 0a 20 20 | 20 20 5c 65 6c 73 65 0a |ill}%. | \else.|
|00001570| 20 20 20 20 20 20 5c 73 | 65 74 62 6f 78 5c 7a 40 | \s|etbox\z@|
|00001580| 3d 5c 68 62 6f 78 20 74 | 6f 5c 77 64 5c 74 77 40 |=\hbox t|o\wd\tw@|
|00001590| 7b 5c 68 66 69 6c 6c 5c | 75 6e 68 62 6f 78 5c 7a |{\hfill\|unhbox\z|
|000015a0| 40 7d 5c 66 69 0a 20 20 | 20 20 5c 62 6f 78 5c 7a |@}\fi. | \box\z|
|000015b0| 40 5c 62 6f 78 5c 74 77 | 40 7d 0a 25 20 20 20 20 |@\box\tw|@}.% |
|000015c0| 5c 65 6e 64 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |\end{mac|rocode}.|
|000015d0| 25 0a 25 20 20 20 20 5c | 62 65 67 69 6e 7b 6d 61 |%.% \|begin{ma|
|000015e0| 63 72 6f 63 6f 64 65 7d | 0a 5c 64 65 66 5c 44 43 |crocode}|.\def\DC|
|000015f0| 40 72 69 67 68 74 23 31 | 23 32 23 33 7b 25 0a 20 |@right#1|#2#3{%. |
|00001600| 20 5c 6c 65 74 5c 44 43 | 40 65 6e 64 5c 44 43 40 | \let\DC|@end\DC@|
|00001610| 65 6e 64 72 69 67 68 74 | 0a 20 20 5c 75 70 70 65 |endright|. \uppe|
|00001620| 72 63 61 73 65 7b 5c 64 | 65 66 7e 7d 7b 24 5c 65 |rcase{\d|ef~}{$\e|
|00001630| 67 72 6f 75 70 5c 73 65 | 74 62 6f 78 5c 74 77 40 |group\se|tbox\tw@|
|00001640| 3d 5c 68 62 6f 78 20 74 | 6f 20 5c 64 69 6d 65 6e |=\hbox t|o \dimen|
|00001650| 40 5c 62 67 72 6f 75 70 | 24 7b 23 32 7d 7d 25 0a |@\bgroup|${#2}}%.|
|00001660| 20 20 20 5c 73 65 74 62 | 6f 78 5c 7a 40 3d 5c 68 | \setb|ox\z@=\h|
|00001670| 62 6f 78 7b 24 31 24 7d | 5c 64 69 6d 65 6e 40 3d |box{$1$}|\dimen@=|
|00001680| 23 33 5c 77 64 5c 7a 40 | 0a 20 20 20 5c 73 65 74 |#3\wd\z@|. \set|
|00001690| 62 6f 78 5c 7a 40 3d 5c | 68 62 6f 78 7b 24 7b 23 |box\z@=\|hbox{${#|
|000016a0| 32 7d 24 7d 5c 61 64 76 | 61 6e 63 65 5c 64 69 6d |2}$}\adv|ance\dim|
|000016b0| 65 6e 40 5c 77 64 5c 7a | 40 0a 20 20 20 5c 73 65 |en@\wd\z|@. \se|
|000016c0| 74 62 6f 78 5c 74 77 40 | 3d 5c 68 62 6f 78 20 74 |tbox\tw@|=\hbox t|
|000016d0| 6f 20 5c 64 69 6d 65 6e | 40 7b 7d 25 0a 20 20 20 |o \dimen|@{}%. |
|000016e0| 5c 73 65 74 62 6f 78 5c | 7a 40 3d 5c 68 62 6f 78 |\setbox\|z@=\hbox|
|000016f0| 5c 62 67 72 6f 75 70 24 | 5c 6d 61 74 68 63 6f 64 |\bgroup$|\mathcod|
|00001700| 65 60 23 31 3d 22 38 30 | 30 30 20 7d 0a 25 20 20 |e`#1="80|00 }.% |
|00001710| 20 20 5c 65 6e 64 7b 6d | 61 63 72 6f 63 6f 64 65 | \end{m|acrocode|
|00001720| 7d 0a 25 0a 25 20 20 20 | 20 5c 62 65 67 69 6e 7b |}.%.% | \begin{|
|00001730| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a 5c 64 65 66 5c |macrocod|e}.\def\|
|00001740| 44 43 40 65 6e 64 72 69 | 67 68 74 7b 24 5c 68 66 |DC@endri|ght{$\hf|
|00001750| 69 6c 5c 65 67 72 6f 75 | 70 5c 68 66 69 6c 6c 5c |il\egrou|p\hfill\|
|00001760| 62 6f 78 5c 7a 40 5c 62 | 6f 78 5c 74 77 40 7d 0a |box\z@\b|ox\tw@}.|
|00001770| 25 20 20 20 20 5c 65 6e | 64 7b 6d 61 63 72 6f 63 |% \en|d{macroc|
|00001780| 6f 64 65 7d 0a 25 0a 25 | 20 54 68 65 20 75 73 65 |ode}.%.%| The use|
|00001790| 72 20 69 6e 74 65 72 66 | 61 63 65 2c 20 64 65 66 |r interf|ace, def|
|000017a0| 69 6e 65 20 74 68 65 20 | 7b 5c 74 74 20 44 7d 20 |ine the |{\tt D} |
|000017b0| 63 6f 6c 75 6d 6e 20 74 | 6f 20 74 61 6b 65 20 74 |column t|o take t|
|000017c0| 68 72 65 65 20 61 72 67 | 75 6d 65 6e 74 73 2e 0a |hree arg|uments..|
|000017d0| 25 20 20 20 20 5c 62 65 | 67 69 6e 7b 6d 61 63 72 |% \be|gin{macr|
|000017e0| 6f 63 6f 64 65 7d 0a 5c | 6e 65 77 63 6f 6c 75 6d |ocode}.\|newcolum|
|000017f0| 6e 74 79 70 65 7b 44 7d | 5b 33 5d 7b 3e 7b 5c 44 |ntype{D}|[3]{>{\D|
|00001800| 43 40 7b 23 31 7d 7b 23 | 32 7d 7b 23 33 7d 7d 63 |C@{#1}{#|2}{#3}}c|
|00001810| 3c 7b 5c 44 43 40 65 6e | 64 7d 7d 0a 25 20 20 20 |<{\DC@en|d}}.% |
|00001820| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|00001830| 0a 25 0a 25 20 20 20 20 | 5c 62 65 67 69 6e 7b 6d |.%.% |\begin{m|
|00001840| 61 63 72 6f 63 6f 64 65 | 7d 0a 25 3c 2f 70 61 63 |acrocode|}.%</pac|
|00001850| 6b 61 67 65 3e 0a 25 20 | 20 20 20 5c 65 6e 64 7b |kage>.% | \end{|
|00001860| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a 25 0a 25 0a 25 |macrocod|e}.%.%.%|
|00001870| 20 5c 46 69 6e 61 6c 65 | 0a 5c 65 6e 64 69 6e 70 | \Finale|.\endinp|
|00001880| 75 74 0a | |ut. | |
+--------+-------------------------+-------------------------+--------+--------+